package com.kuang.dao;

import com.kuang.pojo.Usage;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    //查询是否有此用户
    String selectUsername(@Param("username") String username);
    //根据用户名查询密码
    String selectPasswordByUsername(@Param("username") String username);
    //根据username查询所有的usage_id
    int selectUsageIdByUsername(@Param("username") String username);

}
